package com.pan.behavioral.observer.pattern;

import com.pan.behavioral.observer.pattern.Observer;

public interface Subject <T>{

    public void addObserver(Observer observer);
    public void removeObserver(Observer observer);
    public void publish();

    public T getStatus();
    public void setStatus(T status);
}
